/** @type {import('next').NextConfig} */

const API_URL = 'http://localhost:8080'





const nextConfig = {

    redirects: async () => {
        return [{
            source: '/api/:path*',
            destination: 'http://localhost:8080/:path*', // Proxy to Backend
            permanent: true,

        }]
    },
    reactStrictMode: true,
    images: {
        domains: ['images-na.ssl-images-amazon.com','ia.media-imdb.com']
    }



};

export default nextConfig;
